import OneImg from '@resource/tabImg/lenvshangcheng.jpg'
import TwoImg from '@resource/tabImg/siyuanhuigou.jpg'
import ThreeImg from '@resource/tabImg/guiyanqianpin.jpg'
import FourImg from '@resource/tabImg/hanglvqiangou.jpg'
import FiveImg from '@resource/tabImg/zunhangchushan.jpg'
import SixImg from '@resource/tabImg/kongganglegou.jpg'
import SevenImg from '@resource/tabImg/guilvyoupin.jpg'
import EightImg from '@resource/tabImg/qianxunjifen.jpg'




export enum TabTypeEnum {
  reserve = 'reserve',
  query = 'query',
  subsidy = 'subsidy'
}
export type TabTypeUnion = keyof typeof TabTypeEnum;

export type TabType = {
  title: string;
  type: string
}

export const tabArr: Array<TabType> = [
  { title: '预约直达', type: 'reserve' },
  { title: '中签查询', type: 'query' },
  { title: '利润最大', type: 'subsidy' },
]

type ActiveType = {
  name: string;
  number: string;
  imgUrl: string;
  open: boolean;
  linkUrl: string
}

export const eightActiveArr: Array<ActiveType> = [
  { name: '乐旅商城', number: '一', imgUrl: OneImg, open: true, linkUrl: '#小程序://乐旅商城/B1OVq03S8f8wNfJ' },
  { name: '贵盐黔品', number: '二', imgUrl: TwoImg, open: true, linkUrl: '#小程序://贵盐黔品/S8J81sF6lgnWKBi' },
  { name: '航旅黔购', number: '三', imgUrl: ThreeImg, open: true, linkUrl: '#小程序://航旅黔购/gNrwYK3xKvpwHBp' },
  { name: '遵航出山', number: '四', imgUrl: FourImg, open: true, linkUrl: '#小程序://遵航出山/nrSrwi15FuQ8Vrm' },
  { name: '空港乐购', number: '五', imgUrl: FiveImg, open: true, linkUrl: '#小程序://空港乐购/9gbtcEpGEwA29Wj' },
  { name: '贵旅优品', number: '六', imgUrl: SixImg, open: true, linkUrl: '#小程序://贵旅优品/RjkPn6Ms7tanUqK' },
  { name: '黔寻积分', number: '七', imgUrl: SevenImg, open: true, linkUrl: '#小程序://黔寻积分/RHAQVWfUmFeUMJD' },
  { name: '偲源惠购', number: '八', imgUrl: EightImg, open: true, linkUrl: '#小程序://偲源惠购/6eBveDmTSMhIoue' },
]